using B.S.BaseData.ErrorCode;
using MediatR;

namespace B.S.BaseData.Api.Write.Applicantion.Command.HospitalTwoCommand
{
    /// <summary>
    /// 科室更新命令
    /// </summary>
    public class DepartmentUpdateCommand : IRequest<APIResult<int>>
    {
        /// <summary>
        /// 科室Id
        /// </summary>
        public long Id {  get; set; }   
        /// <summary>
        /// 科室名称
        /// </summary>
        public string DepartmentName { get; set; } = string.Empty;

        /// <summary>
        /// 科室级别（一级、二级）
        /// </summary>
        public string DepartmentLevel { get; set; } = string.Empty;

        /// <summary>
        /// 父级科室ID（二级科室关联一级科室）
        /// </summary>
        public long ParentDepartmentId { get; set; }
        /// <summary>
        /// 状态（0-禁用，1-启用）
        /// </summary>
        public bool Status { get; set; }

        /// <summary>
        /// 备注内容
        /// </summary>
        public string Remarks { get; set; } = string.Empty;
    }
}